package com.woniuxy.company5.service.impl;

import com.woniuxy.company5.entity.RepRefund;
import com.woniuxy.company5.mapper.RepRefundMapper;
import com.woniuxy.company5.service.RepRefundService;
import com.woniuxy.company5.vo.RepRefundVo;
import lombok.Data;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RepRefundServiceImpl implements RepRefundService {
    @Resource
    private RepRefundMapper repRefundMapper;
    @Override
    public int insertSelective(RepRefund record) {
        return repRefundMapper.insertSelective(record);
    }

    @Override
    public List<RepRefundVo> selAllRefundRep() {
        return repRefundMapper.selAllRefundRep();
    }

    @Override
    public List<RepRefundVo> selRefundRepByNum(String num) {
        return repRefundMapper.selRefundRepByNum(num);
    }
}
